package com.mall.project.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.project.sys.model.entity.OperateLog;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 操作日志记录 Mapper 接口
 * </p>
 *
 * @author Sam
 * @since 2021-04-07
 */
public interface OperateLogMapper extends BaseMapper<OperateLog> {
    /**
     * 清空操作日志
     */
    @Update("truncate table sys_operate_log")
    void cleanLog();
}
